{
  "c8y_ModbusDeviceTypeInfo": {
    "name": "Adeunis LoRaWan Sensor",
    "minFieldbusUI": 4,
    "fieldbusType": "lora"
  },
  "c8y_MessageIdConfiguration": {
    "source" : "PAYLOAD",
    "messageIdMapping": {
      "startBit": 0,
      "noBits":8
    }
  },
  "c8y_Coils": [],
  "c8y_Registers": [
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 16,
      "noBits": 8,
      "messageTypeId": 1,
      "name": "Channel type 1",
      "eventMapping": {
        "innerType": "sensor1Type",
        "fragmentType": "c8y_MeasureSensor",
        "text": "Measurement sensor 1 event",
        "type": "c8y_MeasureSensor"
      },
      "category": "Sensor measure data"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 16,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Device type",
      "eventMapping": {
        "innerType": "deviceType",
        "text": "Device configuration event received",
        "fragmentType": "c8y_DeviceConfiguration",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "measurementMapping": {
        "series": "val",
        "type": "c8y_MeasureSensor1"
      },
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "bcd": false,
      "littleEndian": true,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 24,
      "noBits": 24,
      "messageTypeId": 1,
      "name": "Measurement sensor 1",
      "eventMapping": {
        "innerType": "sensor1Value",
        "text": "Measurement sensor 1 event",
        "fragmentType": "c8y_MeasureSensor",
        "type": "c8y_MeasureSensor"
      },
      "category": "Sensor measure data"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 24,
      "noBits": 16,
      "messageTypeId": 3,
      "name": "Transmit period",
      "eventMapping": {
        "innerType": "transmitPeriod",
        "fragmentType": "c8y_DeviceConfiguration",
        "text": "Device configuration event received",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 40,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Channel status",
      "eventMapping": {
        "innerType": "channelStatus",
        "text": "Device configuration event received",
        "fragmentType": "c8y_DeviceConfiguration",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 48,
      "noBits": 8,
      "messageTypeId": 1,
      "name": "Channel type 2",
      "eventMapping": {
        "innerType": "sensor2Type",
        "text": "Measurement sensor 2 event",
        "fragmentType": "c8y_MeasureSensor",
        "type": "c8y_MeasureSensor"
      },
      "category": "Sensor measure data"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 48,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Channel 1 type",
      "eventMapping": {
        "innerType": "channel1Type",
        "fragmentType": "c8y_DeviceConfiguration",
        "text": "Device configuration event received",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "measurementMapping": {
        "series": "val",
        "type": "c8y_MeasureSensor2"
      },
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "bcd": false,
      "littleEndian": true,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 56,
      "noBits": 24,
      "messageTypeId": 1,
      "name": "Measurement sensor 2",
      "eventMapping": {
        "innerType": "sensor2Val",
        "text": "Measurement sensor 2 event",
        "fragmentType": "c8y_MeasureSensor",
        "type": "c8y_MeasureSensor"
      },
      "category": "Sensor measure data"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 56,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Channel 2 type",
      "eventMapping": {
        "innerType": "channel2Type",
        "text": "Device configuration event received",
        "fragmentType": "c8y_DeviceConfiguration",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 64,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Sensor input type",
      "eventMapping": {
        "innerType": "sensorInputType",
        "fragmentType": "c8y_DeviceConfiguration",
        "text": "Device configuration event received",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    },
    {
      "offset": 0,
      "multiplier": 1,
      "fieldbusType": null,
      "signed": false,
      "number": null,
      "input": false,
      "divisor": 1,
      "unit": "",
      "decimalPlaces": 0,
      "startBit": 72,
      "noBits": 8,
      "messageTypeId": 3,
      "name": "Memo switch",
      "eventMapping": {
        "innerType": "memoSwitch",
        "text": "Device configuration event received",
        "fragmentType": "c8y_DeviceConfiguration",
        "type": "c8y_DeviceConfiguration"
      },
      "category": "Device configuration frame"
    }
  ]
}
